<%@include file="/WEB-INF/pages/commons/commons.jsp"%>

<fmt:message var="title" key="view_tags.jsp.title" scope="request"/>
<stripes:layout-render name="${_themePath}/basic-layout-without-navbar.jsp" _title="${title}">

    <stripes:layout-component name="_topNav">
            <H1>Blog Management</H1>
            <UL class="gc-topnav-tabs">
                <LI>&nbsp;</LI>
            </UL>
    </stripes:layout-component>


    <stripes:layout-component name="_content">

        <div id="display">
        </div>

        <h2>View Tags</h2>
        <jsecurity:lacksPermission name="blog:viewTags:${actionBean.blog.id}">
            No "blog:viewTags:${actionBean.blog.id}" permission
        </jsecurity:lacksPermission>
        <jsecurity:hasPermission name="blog:viewTags:${actionBean.blog.id}">
            <stripes:errors />

            <div id="table">
                <%@include file="view_tags_table.jsp" %>
            </div>
        </jsecurity:hasPermission>

    </stripes:layout-component>
</stripes:layout-render>
